{%extends 'base.html'%}
{%load staticfiles%}
{%block title%}欢迎光临我的博客{% endblock %}

{% block headmessage %}
    <h3 style="font-family: 楷体;">文章列表</h3>
{% endblock %}

{%block content %}
    {%for post in posts%}
        <p>
            <a href="/post/{{post.slug}}">{{post.title|capfirst|linenumbers}}</a>
        </p>
    {{post.pub_date|date:"Y M d,h:m:s"}}
    {%endfor%}

    <div class="well">
        <img src="{% static 'images/1234.jpg'%}">
    </div>

}

{%endblock%}